<HTML>

<HEAD>
	<TITLE>EETransfer Off-line documentation</TITLE>
</HEAD>

<BODY BACKGROUND="../pict/fond.gif" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#FF0000">

<TABLE WIDTH=598 BORDER=0 CELLPADDING=0 CELLSPACING=0>


<TR >
		<TD WIDTH=120 ALIGN="center" NOWRAP>
		<A HREF="mailto:mail@easter-eggs.com" >
		<IMG SRC="../pict/mailee.gif" ALT="Mail to EE" WIDTH=81 HEIGHT=19 BORDER=0>
		</A>
		</TD>

		<TD WIDTH=20 NOWRAP>
		</TD>
		
		<TD WIDTH=5 NOWRAP>
		</TD>
		
		<TD WIDTH=226  ALIGN="center" VALIGN="top" NOWRAP>
		<IMG SRC="../pict/logo.gif" WIDTH=100 HEIGHT=100 BORDER=0>
		</TD>


		<TD WIDTH=227 VALIGN="center" NOWRAP>
		<H1>EETransfer Off-line documentation</H1>
		<FONT SIZE=+2><B><A HREF="../docsum.html">Back to summary</A></B></FONT>
		</TD>
		


</TR>

<TR >
		<TD WIDTH=120 >
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  COLSPAN=2>
		<IMG SRC="../pict/bbar.gif" WIDTH=453 HEIGHT=30 BORDER=0>
		</TD>


</TR>
	
<TR >
		<TD WIDTH=120 ALIGN="center" VALIGN="top">
		Updated 97/06/24
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  ALIGN="left" COLSPAN=2> 
		<FONT SIZE=+2><B>ConnectModem</B></FONT>
		<BR><HR>
<B>Launch a modem connection, then pause as soon as the Newton is connected.
When its execution is resumed, it disconnects.</B>
<BR><BR>




<B>* endpoint</B>

<BR>

<B>type:</B> Newton endpoint

<BR>

<I>This slot is returned by the instruction. Its initial value is ignored</I>


<BR><BR>


<B>* errorControl</B>


<BR>
<B>type:</B> integer

<B>default value:</B> kModemECProtocolNone + kModemECProtocolExternal

<BR>

<I>The possible values for the slot are listed below. Note that these values
can be combined together to specify multiple error control types.</I>
<BR>
<BR>

<B>Constant Value Description</B>

<BR>
kModemECProtocolNone 0x00000001 No error control.
<BR>
kModemECProtocolMNP 0x00000002 Use internal MNP class 4.
<BR>
kModemECProtocolExternal 0x00000008 Use modem's built-in error control.
<BR>
kModemECInternalOnly 0x00000010 Connect with internal error control only; overrides other settings.
<BR><BR>


What happens when a reliable connection cannot be established depends on
which error control types you specify. If you include <B>kModemECProtocolNone</B>
in your specification, then the modem tool "falls back" to a connection
with no error control. If you do not include <B>kModemECProtocolNone </B>in your
specification and a reliable connection cannot be established, the
connection fails.
<BR>
If you specify <B>kModemECInternalOnly</B>, the Newton's internal error control
is used. This setting takes precedence over the other error control types.

<BR><BR>



<B>* listen</B>


<BR>
<B>type:</B> boolean
<BR>
<B>default value:</B> nil

<BR><BR>



<B>* listenTimeout</B>



<B>type:</B> integer

<B>default value:</B> kNoTimeout (0)

<BR>

<I>An integer specifying the time, in milliseconds, that the system should
allow for the Newton to listen. If you use this slot, specify an integer
greater than 30.</I>

<BR><BR>



<B>* phoneNumber</B>


<BR>
<B>type:</B> string or nil
<BR>
<B>default value:</B> nil
<BR><BR>




<B>* transport</B>

<BR>

<B>type:</B> frame

<B>default value:</B> nil

<BR>

<I>The transport must always be EETransfer.</I>
<BR>
<B>Note:</B> Before the script executes itself, the global variable "<B>transport</B>"
is automatically set to EETransfer. So if you don't use a slot
"<B>globalSymbols</B>" you don't have to (and you should not) provide a slot
"<B>transport</B>". Otherwise, the "<B>globalSymbols</B>" slot must contain a slot:
<BR>
<B>transport:</B> 'transport,

		</TD>

		
</TR>

<TR >
		<TD WIDTH=120 >
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  COLSPAN=2>
		<IMG SRC="../pict/bbar.gif" WIDTH=453 HEIGHT=30 BORDER=0>
		</TD>


</TR>


<TR >
		<TD WIDTH=120 >
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  COLSPAN=2>
		<IMG SRC="../pict/bar.gif" WIDTH=453 HEIGHT=30 BORDER=0>
		</TD>


</TR>

<TR >
		<TD WIDTH=120 >
		&copy;1997 Easter-eggs<BR>
		All trademarks mentioned are the property of their respective owners
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>
		
		<TD WIDTH=226  VALIGN="top">
		</TD>


		<TD WIDTH=227 ALIGN="right" VALIGN="top">
		</TD>
		


</TR>


</TABLE>

</BODY>

</HTML>